import Vue from 'vue';
import App from './App.vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'; // 引入样式
import router from './router'; // 导入路由配置
import request from './router/request'
import store from './store' // 导入store

Vue.config.productionTip = false;

Vue.use(ElementUI);
Vue.prototype.request = request

new Vue({
  render: h => h(App),
  router, // 注册路由
  store, // 使用store
}).$mount('#app');